#region

using System;
using System.Collections.Generic;
using OnePiece.Core.Rule;

#endregion

namespace OnePiece.Core.Exception
{
    public class RuleViolationException : ApplicationException
    {
        public RuleViolationException(string message, List<RuleViolation> rules)
            : base(message)
        {
            RuleValidationIssues = rules;
        }

        public List<RuleViolation> RuleValidationIssues { get; private set; }
    }
}